<template>
  <div class="questionBox">
    <el-tabs v-model="activeName">
      <el-tab-pane label="试题" name="first">
        <search-question />
      </el-tab-pane>
      <el-tab-pane label="试卷" name="second">
        <test-paper/>
      </el-tab-pane>
      <el-tab-pane label="章节考点" name="third">
        <section-testing/>
      </el-tab-pane>
      <el-tab-pane label="科目管理" name="fourth">
        <subject-manage />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
import searchQuestion from './testquestions/searchquestion'
import testPaper from './testpaper/testpaper'
import sectionTesting from './sectiontesting/sectiontesting'
import subjectManage from './subjectmanage/subjectmanage'
export default {
  components: {
    searchQuestion,
    testPaper,
    sectionTesting,
    subjectManage
  },
  data() {
    return {
      activeName: 'first'
    }
  },
  methods: {
  }
}
</script>
<style lang="scss" scoped>
.questionBox {
  padding: 0 20px;
}
</style>
